add_rules("mode.debug", "mode.release")

includes("src")
add_repositories("private-repo git@gitee.com:SmartSmallBoy/private-xmake-repo.git")
-- add_repositories("private-repo /home/vimoon/src/third/ebpf/private-xmake-repo")
add_requires("cmdparser")

target("bpf_test")
    set_kind("binary")
    add_files("main.c")
    add_deps("bpf_common")
    add_packages("cmdparser")
    add_ldflags("-static")

    -- add_packages("zlib")
    -- add_linkgroups("z", {static = true})